package com.cjh.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cjh.common.dto.DeleteSpecificationsDTO;
import com.cjh.common.dto.SpecificationsDTO;
import com.cjh.common.dto.SpecificationsPagingDTO;
import com.cjh.common.entity.Specifications;
import com.cjh.common.response.Result;

import java.util.List;

/**
 *
 */
public interface SpecificationsService extends IService<Specifications> {
    Result getPagingSpecifications(SpecificationsPagingDTO specificationsPagingDTO);

    Result addSpecifications(SpecificationsDTO specificationsDTO);

    Result deleteSpecifications(DeleteSpecificationsDTO deleteSpecificationsDTO);

    Result deleteManySpecifications(List<DeleteSpecificationsDTO> deleteSpecificationsDTOList);

    Result updateSpecifications(SpecificationsDTO specificationsDTO);

    Result getAllSpecifications();
}
